<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<base href="<%=basePath%>" />
<script>
$LAB.script('<%=basePath%>ui/bootstrap/js/bootstrap-tab.js')
.script('<%=basePath%>scripts/vendor/Moment.min.js')
.script('<%=basePath%>scripts/viewmodel/model.course.js')
.script('<%=basePath%>scripts/viewmodel/model.person.js')
.script('<%=basePath%>scripts/viewmodel/model.repeat.js')
.script('<%=basePath%>scripts/viewmodel/model.content.js')
.script('<%=basePath%>scripts/viewmodel/model.timetable.js')
.script('<%=basePath%>scripts/viewmodel/model.studying.js')
.script('<%=basePath%>scripts/viewmediator/mediator.common.js')
.script('<%=basePath%>scripts/viewmediator/mediator.studied.js')
.script('<%=basePath%>scripts/application.js').wait(function(){
	$.ajaxSettings.async = false;
	if($.URLParams('pid')){
		renderStudied($.URLParams('pid'));
	}else{
		renderStudied(0);
	}
});

</script>
<title>正在学</title>
</head>
<body>
<div class="row">
		<div class="span10">
			<div id="main" class="tabbable tabs-left">
				<div id="unAnyStudy" class="clearfix"></div>
				<ul id="courses" class="nav nav-tabs">
				<li>
					<a id="courseName"  href="javascript:void(0);" data-toggle="tab"></a>
				</li>
				</ul>
				<div id="tab-content" class="tab-content">
					<div id="tab-pane" class="tab-pane active">
						<div id="timeTables" data-bind="text : studySelected().course().name">
							<a id='timeTableName'></a>
						</div>
					</div>
				</div>
			</div>
		</div>
</div>
</body>
</html>